/**
 * Created by Chris
 */
public abstract class KillMethod {
    protected abstract String pickTarget();
    protected abstract void kill(String target);
    protected abstract void clean();

    public void execute() {
        String target = pickTarget();
        kill(target);
        clean();
    }
}
